<?php

// +----------------------------------------------------------------------
// | Copyright (c) 2014 http://www.cencn.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: 彦子谷  <278805354@qq.com> <http://www.xzqly.com>
// +----------------------------------------------------------------------

namespace Common\Service;

//初始化客户端
abstract class Service {

    protected $client;
    protected $notobject;
    //初始化客户端接口给它
    public function __construct() {
        Vendor('phpRPC.phprpc_client');
        $client = new \PHPRPC_Client();
        $this->client = $client;
    }

    //当没有初始化时重新初始化
    public function _init() {
        Vendor('phpRPC.phprpc_client');
        $client = new \PHPRPC_Client();
        $this->client = $client;
    }

   

}
